package com.webchat.pgc.repository.entity.mall;


import com.webchat.pgc.repository.entity.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

/**
 * 电商 角色-功能点关系
 */
@Data
@Entity
@Table(name = "web_chat_mall_role_function")
public class MallRoleFunction extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;

    /**
     * 角色id
     */
    @Column(name = "role_id")
    private String roleId;

    /**
     * 功能点id
     */
    @Column(name = "function_id")
    private String functionId;

    @Column(name = "status")
    private Integer status;
}
